package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.qbdms.model.WFlightRewardsProject;
import com.ccp.dev.qbdms.model.vo.WFlightRewardsProjectVo;
import org.apache.ibatis.annotations.Mapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 飞行试验奖惩项目管理 信息数据库操作类
 *
 * @author hw
 * @date 2020-05-25 15:16:44
 */
@Mapper
public interface WFlightRewardsProjectDao extends IBaseMapper<WFlightRewardsProject,String> {

    List<WFlightRewardsProject> queryAll(QueryFilter queryFilter);

    WFlightRewardsProject getParentAndChilden(@Param("id")String id);

    List<WFlightRewardsProjectVo> getFxsymcList(QueryFilter queryFilter);

    /**
     * 流程审批页面查询通过的数据
     * @param dataId
     * @return
     */
    List<WFlightRewardsProject> reportList(@Param("dataId") String dataId,@Param("tableName") String tableName);
}
